<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: xpt2046/calibrate.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0e80fb08802ded836bfad3909581be7f.html">xpt2046</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">calibrate.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="calibrate_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#ifndef _CALIBRATE_H_</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define _CALIBRATE_H_</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">/* calibrate.c */</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="calibrate_8h.html#a9fc562e302f746ea545c9f77309feae2">tft_check_calibrated</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="calibrate_8h.html#a83c9d1d7d710cca45a8acb543f745d4c">tft_touch_calibrate</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="calibrate_8h.html#a2473f497b14cf18c390c2927353ff1f3">tft_touch_map</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t *<a class="code" href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a> , int16_t *<a class="code" href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a> );</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="calibrate_8h.html#ab7e5350b1af8a3d4d68f864880f8a6d8">tft_map_test</a> ( <a class="code" href="structwindow.html">window</a> *win , <span class="keywordtype">int</span> points );</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="calibrate_8h.html#a19006a3db3c542e9fa1583ed117faf55">tft_touch_xy_raw</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *<a class="code" href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a> , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *<a class="code" href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a> );</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="calibrate_8h.html#a09b17e588fbbddac40169119e4df6df5">tft_touch_xy</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *<a class="code" href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a> , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *<a class="code" href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a> );</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="calibrate_8h.html#a2a4887d61a42c61637c4551c73608e4a">tft_touch_key</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *<a class="code" href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a> , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *<a class="code" href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a> );</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#endif // _CALIBRATE_H_</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="ttc" id="calibrate_8h_html_a2473f497b14cf18c390c2927353ff1f3"><div class="ttname"><a href="calibrate_8h.html#a2473f497b14cf18c390c2927353ff1f3">tft_touch_map</a></div><div class="ttdeci">MEMSPACE int tft_touch_map(window *win, int16_t *X, int16_t *Y)</div></div>
<div class="ttc" id="send_8c_html_a273cf69d639a59973b6019625df33e30"><div class="ttname"><a href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a></div><div class="ttdeci">unsigned short uint16_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00018">send.c:18</a></div></div>
<div class="ttc" id="cordic_8c_html_a46b4b48ef8c0c01099eb3bcdde8aa8db"><div class="ttname"><a href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a></div><div class="ttdeci">Cordic_T X</div><div class="ttdoc">Main Cordic routine - used for basic trig and vector rotations We use fixed point numbers...</div><div class="ttdef"><b>Definition:</b> <a href="cordic_8c_source.html#l00102">cordic.c:102</a></div></div>
<div class="ttc" id="cordic_8c_html_ab746e677f466f17031e92ed577fc3c15"><div class="ttname"><a href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a></div><div class="ttdeci">Cordic_T Y</div><div class="ttdef"><b>Definition:</b> <a href="cordic_8c_source.html#l00102">cordic.c:102</a></div></div>
<div class="ttc" id="calibrate_8h_html_a19006a3db3c542e9fa1583ed117faf55"><div class="ttname"><a href="calibrate_8h.html#a19006a3db3c542e9fa1583ed117faf55">tft_touch_xy_raw</a></div><div class="ttdeci">MEMSPACE int tft_touch_xy_raw(window *win, uint16_t *X, uint16_t *Y)</div></div>
<div class="ttc" id="calibrate_8h_html_a9fc562e302f746ea545c9f77309feae2"><div class="ttname"><a href="calibrate_8h.html#a9fc562e302f746ea545c9f77309feae2">tft_check_calibrated</a></div><div class="ttdeci">MEMSPACE int tft_check_calibrated(window *win)</div></div>
<div class="ttc" id="calibrate_8h_html_ab7e5350b1af8a3d4d68f864880f8a6d8"><div class="ttname"><a href="calibrate_8h.html#ab7e5350b1af8a3d4d68f864880f8a6d8">tft_map_test</a></div><div class="ttdeci">MEMSPACE int tft_map_test(window *win, int points)</div></div>
<div class="ttc" id="cpu_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00025">cpu.h:25</a></div></div>
<div class="ttc" id="calibrate_8h_html_a09b17e588fbbddac40169119e4df6df5"><div class="ttname"><a href="calibrate_8h.html#a09b17e588fbbddac40169119e4df6df5">tft_touch_xy</a></div><div class="ttdeci">MEMSPACE int tft_touch_xy(window *win, uint16_t *X, uint16_t *Y)</div></div>
<div class="ttc" id="structwindow_html"><div class="ttname"><a href="structwindow.html">window</a></div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00034">ili9341.h:34</a></div></div>
<div class="ttc" id="calibrate_8h_html_a2a4887d61a42c61637c4551c73608e4a"><div class="ttname"><a href="calibrate_8h.html#a2a4887d61a42c61637c4551c73608e4a">tft_touch_key</a></div><div class="ttdeci">MEMSPACE int tft_touch_key(window *win, uint16_t *X, uint16_t *Y)</div></div>
<div class="ttc" id="calibrate_8h_html_a83c9d1d7d710cca45a8acb543f745d4c"><div class="ttname"><a href="calibrate_8h.html#a83c9d1d7d710cca45a8acb543f745d4c">tft_touch_calibrate</a></div><div class="ttdeci">MEMSPACE int tft_touch_calibrate(window *win)</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
